/*
 *  Node.h
 *  Node
 *
 *  Created by Hamza SHAWY on 07/11/07.
 *  Copyright 2007 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef NODE_H
#define NODE_H

class Node {
     private:
           int value; // the value of the node
           Node* next; // A pointer to the next node
     public:
           Node(int, Node*);     // Regular constructor
           Node(Node&);          // Copy constructor
           ~Node();              // Destructor
           void setValue(int);   // Changes value
           int getValue() const;       // Returns value
           void setNext(Node*);  // Changes next
           Node* getNext() const;      // Returns next
};

#endif
